package com.dragon.loan.service;

import java.util.List;

import com.dragon.loan.entity.CmAttachment;

public interface CmAttachmentIDragonService {
	
	/**
	 * 查询附件信息
	 * @param loanId 贷款编号
	 * @param atmtType 附件类型
	 * @return
	 */
	public List<CmAttachment> queryAttachments(String loanId,String atmtType);
	
	public boolean insertMsg(List<CmAttachment> cmAttachments);
	
	public boolean insertMsg(CmAttachment cmAttachment);	
	
	/**
	 * 查詢附件信息<br>
	 * 可传多种atmtType
	 * wanggang
	 * @param loanId
	 * @param atmtType
	 * @return
	 */
	public List<CmAttachment> queryAttachments(String loanId,String... atmtType);
	
}
